/**
 * Copyright 2011 Mathieu Magnaudet
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package edu.enac.geoapp.wims.model;

/**
 * Simple Bean for the ICE meteorological product
 * @author mathieu
 *
 */
public class ICEProduct extends Product {
	private float altitude;
	private float top;
	private float bottom;
	private String[] fieldList = new String[] {"intensity", "top", "altitude", "bottom"};
	
	/**
	 * @return the intensity
	 */
	public int getIntensity() {
		return super.getIntensityLevel();
	}
	/**
	 * @param intensity the intensity to set
	 */
	public void setIntensity(int intensity) {
		super.setIntensityLevel(intensity);
	}
	/**
	 * @return the altitude
	 */
	public float getAltitude() {
		return altitude;
	}
	/**
	 * @param altitude the altitude to set
	 */
	public void setAltitude(float altitude) {
		this.altitude = altitude;
	}
	/**
	 * @return the top
	 */
	public float getTop() {
		return top;
	}
	/**
	 * @param top the top to set
	 */
	public void setTop(float top) {
		this.top = top;
	}
	/**
	 * @return the bottom
	 */
	public float getBottom() {
		return bottom;
	}
	/**
	 * @param bottom the bottom to set
	 */
	public void setBottom(float bottom) {
		this.bottom = bottom;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ICEProduct [intensity=" + super.getIntensityLevel() + ", altitude=" + altitude
				+ ", top=" + top + ", bottom=" + bottom
				+ super.toString() + "]";
	}
	
	public String[] getFieldList() {
		return fieldList;
	}
	
}
